Digital Unipolar Hall-Effect Sensor